package com.scorpio.goods.service.impl;

import com.scorpio.basic.dto.NameIdDTO;
import com.scorpio.common.service.impl.BaseServiceImpl;
import com.scorpio.goods.domain.GoodsSkuSpecEntity;
import com.scorpio.goods.mapper.GoodsSkuSpecMapper;
import com.scorpio.goods.service.GoodsSkuSpecService;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class GoodsSkuSpecServiceImpl extends BaseServiceImpl<GoodsSkuSpecMapper, GoodsSkuSpecEntity> implements GoodsSkuSpecService {

    @Override
    public List<GoodsSkuSpecEntity> selectSkuNameBySku(Long skuId) {
        return baseDao.selectSkuNameBySku(skuId);
    }

    @Override
    public List<GoodsSkuSpecEntity> selectSkuBySpec(Long specId) {
        return baseDao.selectSkuBySpec(specId);
    }

}
